<%@ include file="/WEB-INF/jsp/include/taglib.jsp" %>
<html>
<body>

<form action="<c:url value=""/>" enctype="multipart/form-data" method="post">
    <table>
        <tr>
            <td>
                <img src="<c:url value="/images/${command.localPath}"/>"/> 
            </td>
        </tr>
        <tr>
            <td>
                <spring:bind path="command.name">
                    <input type="text" name="${status.expression}" value="${status.value}"/>
                </spring:bind>
            </td>
        </tr>
        <tr>
            <td>
                <spring:bind path="command.description">
                    <textarea name="${status.expression}"
                              cols="30" rows="10"><c:out value="${status.value}"/></textarea>
                </spring:bind>
            </td>
        </tr>
        <tr>
            <td>
                replace image: <input type="file" name="photo">
            </td>
        </tr>
        <tr>
            <td>
                <input type="submit" name="submit" value="Submit data"/>
            </td>
        </tr>
    </table>
</form>

</body>
</html>
